mq_server:mq_server.cc ../mqcomm/mq_msg.pb.cc ../mqcomm/mq_proto.pb.cc ../mqdemo/muduo/include/muduo/proto/codec.cc
	g++ -o $@ $^ -g -std=c++11 -I../mqdemo/muduo/include -L../mqdemo/muduo/lib -lmuduo_net -lmuduo_base -lz -lgtest -lprotobuf -lsqlite3 -pthread
.PHONY:clean
clean:
	rm -f mq_server 